package com.azkj.album.dto;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class HistoryBean implements Serializable {

    @SerializedName("id")
    private Integer id;
    @SerializedName("user_id")
    private Integer userId;
    @SerializedName("pay_type")
    private Integer payType;
    @SerializedName("order_price")
    private String orderPrice;
    @SerializedName("month")
    private Integer month;
    @SerializedName("paytime")
    private long paytime;
    @SerializedName("user")
    private UserDTO user;
    @SerializedName("vip_expire_time_text")
    private String vipExpireTimeText;
    @SerializedName("paytime_text")
    private String paytimeText;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(String orderPrice) {
        this.orderPrice = orderPrice;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public long getPaytime() {
        return paytime;
    }

    public void setPaytime(long paytime) {
        this.paytime = paytime;
    }

    public UserDTO getUser() {
        return user;
    }

    public void setUser(UserDTO user) {
        this.user = user;
    }

    public String getVipExpireTimeText() {
        return vipExpireTimeText;
    }

    public void setVipExpireTimeText(String vipExpireTimeText) {
        this.vipExpireTimeText = vipExpireTimeText;
    }

    public String getPaytimeText() {
        return paytimeText;
    }

    public void setPaytimeText(String paytimeText) {
        this.paytimeText = paytimeText;
    }

    @NoArgsConstructor
    @Data
    public static class UserDTO {
        @SerializedName("id")
        private Integer id;
        @SerializedName("nickname")
        private String nickname;
        @SerializedName("mobile")
        private String mobile;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }
    }
}
